/**
 * 自定义组件参考文档
 * https://cn.vuejs.org/v2/guide/components-registration.html
*/
import Vue from 'vue'
import Test from './test/';
import Dmap from './3Dmap/';
import Tree from './tree/';

import components from '@/components/core/ui/index'
const list = [
  Test,
  Dmap,
  Tree
]
//循环注册组件
list.forEach(ele => {
  Vue.component(ele.name, ele)
})
//自定义组件
Object.keys(components).map(ele => {
  let component = components[ele];
  Vue.component(component.name, component);
});
